<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head lang="en">
<meta charset="UTF-8">
<title>注册页面</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="format-detection" content="telephone=no">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp" />

<link href="css/register.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="js/layui/css/layui.css">
<script src="js/jquery.js"></script>

</head>

<body style="background-image: url(img/back.jpeg);
             background-repeat: no-repeat; /*避免重复显示图片*/
             background-attachment: fixed; /*设置图片固定*/
             background-size: 100% 100%;">
				
				<div class="outer">
					
					<h1 align="center">注册</h1><br>
					<div id="registerMsg" style="font-size: 14px" align="center"></div>
							<form  method="post" id="form"  onsubmit="" action="RegisterServlet">
								
								<div class="user-email">
									<div>
									<label for="username"><i class="am-icon-envelope-o">账户:</i></label>
									<input type="text" name="uname" id="username"
										placeholder="请输入账号">
									</div>
								</div>
								
								
								<div class="user-pass">
									<div>
									<label for="realname"><i class="am-icon-lock">姓名:</i></label> <input
										type="text" name="realname" id="realname"
										placeholder="真实姓名">
									</div>
								</div>
								
								<div class="user-pass">
									<div>
									<label for="role"><i class="am-icon-lock">角色:</i></label> 
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
									<input type="checkbox" name="role" id="role" value="1">教师
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
									<input type="checkbox" name="role" id="role" value="0">学生
								   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
									</div>
								</div>
								
								<div class="user-pass">
									<div>
									<label for="password"><i class="am-icon-lock">密码:</i></label> <input
										type="password" name="upassword" id="password"
										placeholder="设置密码">
									</div>
								</div>
								
								
								<div class="user-pass">
									<div>
									<label for="passwordRepeat"><i class="am-icon-lock">确认:</i></label>
									<input type="password" name="passwordRepeat"  
										id="passwordRepeat" placeholder="确认密码">
									</div>
								</div>
								<div align="center">
								<a href="login.jsp" style="font-size: 14px;">返回登录</a>
								</div><br>
						<div class="am-submit">	
						
							<div >
								<input type="submit" onclick="zhuce();" value="注册"  class="layui-btn layui-btn-normal layui-btn-sm">
								<input type="reset"  value="取消"  class="layui-btn layui-btn-normal layui-btn-sm">
							</div>
							
						</div>
							</form>

				</div>

</body>

</html>